﻿using System.Text.Json.Serialization;
using Acme.ELeMe.SDK.Request;

namespace Acme.ELeMe.SDK.Response;

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class OrderListRespData
{
    /// <summary>
    /// 
    /// </summary>
    public int total { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int pages { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int page { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public List<OrderListItem>? list { get; set; }

}

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class OrderListItem
{
    /// <summary>
    /// 平台门店ID
    /// </summary>
    public string? baidu_shop_id { get; set; }

    public string? create_time { get; set; }
    public string? order_from { get; set; }
    /// <summary>
    /// 订单ID
    /// </summary>
    public string? order_id { get; set; }
    public string? order_status { get; set; }
    public string? pay_status { get; set; }
    public string? pay_type { get; set; }
    public string? shop_id { get; set; }
    public string? user_phone { get; set; }
}
